<?php
/* paymentfailed.php 2006-07-03 11:02:04
   Conference Registration - Registration for conferences - A XOOPS CMS Module
   Copyright (c) 2006 Kevin van Haaren, US
   URL:     http://www.superfantasmoworld.com/
   Contact: kevin@vanhaaren.net
 	
   XOOPS
   Copyright (c) 2000 XOOPS.org
   URL:     http://www.xoops.org/
    
   This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    
 */
 
//The next comment block is for PHPDocumentor
/**
 * Conference Registration - Registration for conferences
 * 
 * Userside menu option:
 * Start the registration process
 * 
 * @author Kevin van Haaren (kevin@vanhaaren.net)
 * @copyright 2006 Kevin van Haaren, US
 * @package CONFREG
 * @subpackage User_Function
 * 
 */

/**
 * @global Xoops options handler
 * @global Xoops user handler
 * @global Xoops Smarty template handler
 */
global $xoopsConfig,$xoopsOption,$xoopsUser,$xoopsTpl;


/**
 * MUST include our module page header
 */
require("header.inc");

// clean all input
//$cleanPost = ParanoiaCleanByKey($_POST);

$xoopsOption['template_main'] = 'payfail.tpl';	
//Xoops main header file
require_once XOOPS_ROOT_PATH."/header.php";	
$xoopsTpl->assign('amount',$_POST['AMOUNT']);
$xoopsTpl->assign('confirmation',$_POST['INVOICE']);

//Xoops main header file
require_once XOOPS_ROOT_PATH."/header.php";	

// Xoops page footer
include XOOPS_ROOT_PATH."/footer.php";


/*
 * This file was generated by XBS ModGen, (c) 2006 A Kitson, UK. See http://xoobs.net
 * ModGen is a Module Code Generator for the Xoops CMS.  See http://xoops.org
 */
?>
